Method, device and computer-readable medium for adjusting video playing progress

ABSTRACT

A method, device and computer-readable medium are provided for adjusting video playing progress in the field of video processing. The method for adjusting video playing progress includes: acquiring a keyword inputted by a user; determining at least one matching keyframe corresponding to the keyword in a target video, which includes at least one keyframe; displaying the at least one matching keyframe; and adjusting displaying progress of the target video to target displaying progress, when a selection operation on a keyframe of the at least one matching keyframe is detected, where the target displaying progress corresponds to the keyframe as indicated by the selection operation.

CROSS-REFERENCE TO RELATED APPLICATION

This application is based on and claims priority to Chinese PatentApplication No. 201611078225.4, filed on Nov. 29, 2016, the content ofwhich is incorporated herein by reference in its entirety.

FIELD

The present disclosure relates to a field of video processing, andparticularly, to a method, device and computer-readable medium foradjusting video playing progress.

BACKGROUND

With continuous developments of the Internet technology, a user maywatch a lot of video files on the Internet. However, when watching avideo, the user may want only to watch a certain section of the video.In this case, playing progress of the video should be adjusted in orderto play the certain section of the video. During an adjustment of theplaying progress, the user may browse video content by playing the videoquickly, determine playing progress corresponding to the certain sectionof the video during the browsing, and then drag a playing progress barof the video, so as to implement the adjustment of the video playingprogress and play the certain section of the video. However, whenadjusting the playing process, the user may need to determine theplaying progress corresponding to the certain section of the video bybrowsing the video, which may take a lot of time and thus can reduceefficiency of the adjustment of the playing progress.

SUMMARY

In the present disclosure, a method, device and non-transitorycomputer-readable medium for adjusting video playing progress areprovided.

According to a first aspect of embodiments of the disclosure, a methodfor adjusting video playing progress is provided. The method mayinclude: acquiring a keyword inputted by a user; determining at leastone matching keyframe corresponding to the keyword in a target videowhich includes at least one keyframe; displaying the at least onematching keyframe; and adjusting displaying progress of the target videoto target displaying progress when a selection operation on a keyframeof the at least one matching keyframe is detected, wherein the targetdisplaying progress corresponds to the keyframe as indicated by theselection operation.

According to a second aspect of embodiments of the disclosure, a devicefor adjusting video playing progress is provided. The device mayinclude: a processor; and a memory for storing instructions executableby the processor. The processor is configured to: acquire a keywordinputted by a user; determine at least one matching keyframecorresponding to the keyword in a target video which includes at leastone keyframe; display the at least one matching keyframe; and adjustdisplaying progress of the target video to target displaying progress,when a selection operation on a keyframe of the at least one matchingkeyframe is detected, wherein the target displaying progress correspondsto the keyframe as indicated by the selection operation.

According to a third aspect of embodiments of the disclosure, anon-transitory computer-readable storage medium having instructionsstored thereon is provided. The instructions for adjusting video playingprogress, when executed by a processor, may cause the processor to:acquire a keyword inputted by a user; determine at least one matchingkeyframe corresponding to the keyword in a target video which includesat least one keyframe; display the at least one matching keyframe; andadjust displaying progress of the target video to target displayingprogress when a selection operation on a keyframe of the at least onematching keyframe is detected, wherein the target displaying progresscorresponds to the keyframe as indicated by the selection operation.

It is to be understood that both the forgoing general description andthe following detailed description are exemplary only, and are notrestrictive of the present disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and constitute apart of this specification, illustrate embodiments consistent with theinvention and, together with the description, serve to explain theprinciples of the invention.

FIG. 1 is a flow diagram of a method for adjusting video playingprogress illustrated according to an exemplary embodiment.

FIG. 2 is a flow diagram of a method for adjusting video playingprogress illustrated according to an exemplary embodiment.

FIG. 3 is a schematic diagram of a keyframe illustrated according to anexemplary embodiment.

FIG. 4 is a schematic diagram of a playing interface provided by aterminal when a target video is being played illustrated according to anexemplary embodiment.

FIG. 5 is a schematic diagram of a playing interface provided by aterminal when a target video is not played illustrated according to anexemplary embodiment.

FIG. 6 is a schematic diagram for displaying at least one matchingkeyframe illustrated according to an exemplary embodiment.

FIG. 7 is another schematic diagram for displaying at least one matchingkeyframe illustrated according to an exemplary embodiment.

FIG. 8 is a block diagram of a device for adjusting video playingprogress illustrated according to an exemplary embodiment.

FIG. 9 is a block diagram of a device for adjusting video playingprogress illustrated according to an exemplary embodiment.

FIG. 10 is a block diagram of a device for adjusting video playingprogress illustrated according to an exemplary embodiment.

Skilled artisans will appreciate that elements in the figures areillustrated for simplicity and clarity and have not necessarily beendrawn to scale. For example, the dimensions and/or relative positioningof some of the elements in the figures may be exaggerated relative toother elements to help to improve understanding of various examples ofthe present disclosure. Also, common but well-understood elements thatare useful or necessary in a commercially feasible example are often notdepicted in order to facilitate a less obstructed view of these variousexamples. It will further be appreciated that certain actions and/orsteps may be described or depicted in a particular order of occurrencewhile those skilled in the art will understand that such specificitywith respect to sequence is not actually required. It will also beunderstood that the terms and expressions used herein have the ordinarytechnical meaning as is accorded to such terms and expressions bypersons skilled in the technical field as set forth above, except wheredifferent specific meanings have otherwise been set forth herein.

DETAILED DESCRIPTION

Reference will now be made in detail to exemplary embodiments, examplesof which are illustrated in the accompanying drawings. The followingdescription refers to the accompanying drawings in which same referencenumbers in different drawings represent same or similar elements unlessotherwise described. The implementations set forth in the followingdescription of exemplary embodiments do not represent allimplementations consistent with the disclosure. Instead, they are merelyexamples of apparatus and methods consistent with aspects related to thedisclosure as recited in the appended claims.

The terminology used in the present disclosure is for the purpose ofdescribing exemplary examples only and is not intended to limit thepresent disclosure. As used in the present disclosure and the appendedclaims, the singular forms “a,” “an” and “the” are intended to includethe plural forms as well, unless the context clearly indicatesotherwise. It shall also be understood that the terms “or” and “and/or”used herein are intended to signify and include any or all possiblecombinations of one or more of the associated listed items, unless thecontext clearly indicates otherwise.

It shall be understood that, although the terms “first,” “second,”“third,” etc. may be used herein to describe various information, theinformation should not be limited by these terms. These terms are onlyused to distinguish one category of information from another. Forexample, without departing from the scope of the present disclosure,first information may be termed as second information; and similarly,second information may also be termed as first information. As usedherein, the term “if” may be understood to mean “when” or “upon” or “inresponse to” depending on the context.

Reference throughout this specification to “one embodiment,” “anembodiment,” “exemplary embodiment,” or the like in the singular orplural means that one or more particular features, structures, orcharacteristics described in connection with an example is included inat least one embodiment of the present disclosure. Thus, the appearancesof the phrases “in one embodiment” or “in an embodiment,” “in anexemplary embodiment,” or the like in the singular or plural in variousplaces throughout this specification are not necessarily all referringto the same embodiment. Furthermore, the particular features,structures, or characteristics in one or more embodiments may becombined in any suitable manner.

FIG. 1 is a flow diagram of a method for adjusting video playingprogress illustrated according to an exemplary embodiment. The methodfor adjusting video playing progress illustrated in FIG. 1 may beapplied to a terminal. The method may include following steps.

In step 101, a keyword inputted by a user is acquired.

In step 102, at least one matching keyframe corresponding to the keywordinputted by the user is determined in a target video which includes atleast one keyframe.

In step 103, the at least one matching keyframe is displayed.

In step 104, when a selection operation on a keyframe of the at leastone matching keyframe is detected, displaying progress of the targetvideo is adjusted to target displaying progress. The target displayingprogress is the displaying progress corresponding to the keyframe asindicated by the selection operation.

In sum, the method for adjusting video playing progress provided byembodiments of the present disclosure includes following operations:obtaining, by a terminal, a keyword inputted by a user; determining atleast one matching keyframe corresponding to the keyword in a targetvideo; displaying the at least one matching keyframe; and adjustingdisplaying progress of the target video to target displaying progress,when a selection operation on a keyframe of the at least one matchingkeyframe is detected.

The method for adjusting video playing progress reduces time foradjusting video playing progress and improves efficiency of theadjustment of the playing progress, by determining, according to akeyword inputted by a user, one or more matching keyframes correspondingto the keyword and then adjusting the video playing progress accordingto a selection of different matching keyframes, a need that a user canonly determine playing progress corresponding to a particular section ofthe video after browsing a target video is eliminated.

FIG. 2 is a flow diagram of a method for adjusting video playingprogress according to an exemplary embodiment. The method shown in FIG.2 for adjusting video playing progress may be applied to a terminal. Themethod may include following steps.

In step 201, at least one keyframe is extracted from a target video, andat least one label for each of the at least one keyframe may bedetermined.

The target video may include a plurality of frames, each of whichcorresponds to an image. The plurality of frames may include at leastone keyframe. The at least one label for each of the at least onekeyframe may be used to indicate content of the corresponding keyframe.Moreover, the target video may be any of video files in a server forproviding a video file, including but not limiting to: a video which isbeing watched by a user or a video which the user is willing to watch.

For example, the terminal may extract the at least one keyframe from thetarget video by partitioning the target video into multiple shots,choosing a keyframe in each of the shots by a frame averaging method orhistogram averaging method, and then determine the keyframe for each ofthe shots.

Further, the terminal may determine at least one label for each keyframeupon the extraction of the keyframe. During the determination of thelabel, the terminal may detect whether each of the at least one keyframeincludes content within a set of target content. The set of targetcontent may include at least one of object content, word content, wordcontent and scene content. When any of the at least one keyframeincludes certain content within the set of target content, the terminalmay generate a label indicating the certain content for the keyframe.The set of target content may be set by the user via a terminal or maybe determined according to historical watch pattern of the user or anyother patterns determined by a processor. For example, the terminal mayuse a name of an object, a name of a character, literal information orscene information in the keyframe as the label for the keyframe.

Referring to FIG. 3, a keyframe X as shown in FIG. 3 includes threecharacters and an indoor scene. As illustrated in Table 1, the terminalcannot determine the name of the character on the right side of FIG. 3,and thus may determine the character as a stranger and no label isgenerated for the character. When characters in the middle and on theleft may be determined, correspondingly, labels for the keyframe X maybe generated and may include names of the characters such as Tom andJerry. A scene label for a name of the scene may be generated thatcorresponds to the keyframe X such as indoor.

TABLE 1 Keyframe Character Label Object Label Literal Label Scene LabelX Tom, Jerry Indoor

It is to be noted that: the terminal may acquire an object and theobject's name in a keyframe using a method for image classification orobject detection. The terminal may acquire literal information in theframe using the Optical Character Recognition (OCR) technology. Theterminal may access prestored pictures of a plurality of characters, andmatch a character in the keyframe with the prestored pictures, andacquire a label of the character based on a result of the matching. Theterminal may further identify a scene and acquire a label of the scene.

It is to be noted that, when the terminal determines the label for akeyframe, a plurality of labels may be obtained and the number of thelabels may exceed a predetermined label number threshold, the terminalmay screen the plurality of labels to determine and select one or morelabels for the keyframe. The predetermined label number threshold may bedetermined based on the number of labels of each keyframe, which is notelaborated in the embodiments.

For example, the terminal may collect every label of every keyframe in aset of labels and determine the number of occurrences for each label inthe set of labels. The terminal may then determine, for a keyframehaving an inordinate number of labels, the number of occurrences foreach corresponding label, and delete a label having the maximum numberof occurrences. If the number of labels corresponding to the keyframe isstill greater than the predetermined label number threshold, theterminal may continue to delete a label having the maximum number ofoccurrences from the labels corresponding to the keyframe until thenumber of labels corresponding to the keyframe is not greater than thepredetermined label number threshold.

The predetermined label number threshold may also be determined and setby the user. For example, the user may set the predetermined labelnumber threshold as a number for each keyframe in the video. When thepredetermined label number threshold is set, one or more labels may bedeleted when the number of labels for the keyframe exceeds thepredetermined label number threshold.

Sometimes, an additional label threshold may be set for the keyframes inthe video. For example, the label threshold may be a label percentage,and when the labels are generated for all keyframes in the video, thelabel percentage is 100%, when no label is generated for any keyframesin the video, the label percentage is 0%. Thus, when the labelpercentage is below the label threshold, 85% for example, an alert maybe generated and is presented to the user via the terminal. By such way,the user may be alerted for abnormal label generation for keyframes,

In step 202, according to the at least one keyframe and at least onelabel for each keyframe, a relationship between the least one label foreach keyframe and the corresponding keyframe is established.

After determining the least one label for each keyframe, the terminalmay establish the relationship between the least one label for eachkeyframe and the corresponding keyframe, according to each keyframe inthe target video and the at least one label for each keyframe.Correspondingly, the relationship records each keyframe included in thetarget video and at least one label corresponding to each keyframe. In asubsequent step, content of a keyframe may be determined by inquiring acorresponding label.

For example, the relationship between the least one label for eachkeyframe and the corresponding keyframe may be described in reference toTable 2. As shown in Table 2, the relationship includes severalkeyframes and multiple labels corresponding to each keyframe.

TABLE 2 Keyframe Character Label Object Label Literal Label Scene LabelX Tom, Jerry Indoor . . . . . . . . . . . . . . . Y Tom Firearms Forest

In step 203, a keyword inputted by a user is acquired. The keyword mayinclude at least one keyword component. That is to say, the user mayinput one keyword component or a set of keyword components, which is notlimited in the embodiments.

With reference to FIG. 4, the terminal may provide the user with aplaying interface for playing the target video, during the playback ofthe target video. The playing interface may include a playback option401, a search option 402, a search bar 403, a fast forward option 404and fast backward option 405.

While watching the target video, if the user is willing to watch acertain section of the target video, she/he may input a keyword of thesection in the search bar 403 provided by the terminal. When detectingthe user's selection operation on the search option 402, the terminalmay acquire the keyword inputted by the user and search according to thekeyword, so as to acquire the certain section of the video that the useris willing to watch in a subsequent step.

Sometimes, the user may input a keyword before watching the targetvideo.

Referring to FIG. 5, the terminal may provide a playing interface asshown in FIG. 5, before the target video is played back. The playinginterface may provide the user with an initial playback option 406, aninitial search bar 407 and an initial search option 408. The user mayinput a keyword in the initial search bar 407 and click the initialsearch option 408, such that the terminal may acquire the keyword inputby the user.

In step 204, at least one matching keyframe corresponding to the keywordis determined in the target video. The matching keyframe may be used torepresent a keyframe matched the keyword in the at least one keyframe ofthe target video.

The terminal may acquire a keyword inputted by a user and inquires arelationship between a keyframe and a preset label according to thekeyword. The terminal matches the keyword with each label recorded inthe relationship and determines a label having a preset association withthe keyword as a target label, so as to obtain at least one target labelmatching the keyword. The terminal then determine the at least onekeyframe corresponding to the at least one target label in therelationship as the at least one matching keyframe corresponding to thekeyword.

The target label is a label matching the keyword. In order to determinethe match, the keyword may include at least one word of a label or maybe the same as a label. For example, when the keyword inputted by theuser is “notebook” and the at least one labels in the presetrelationship includes “note”, “book”, “notebook” and “mouse”, since“note” and “book” have at least one word which is the same as at leastone word of “notebook” and the keyword “notebook” is the same as the“notebook” in the preset relationship, the labels “note”, “book” and“notebook” may be determined as labels having a preset association withthe keyword, i.e., the labels “note”, “book” and “notebook” are targetlabels matching the keyword “notebook”.

The preset matching degree threshold may be determined based on amatching degree between each label and the keyword.

Since the keyword may include at least one keyword component, afteracquiring the keyword, the terminal may extend each keyword component ofthe keyword to obtain at least one extended word for the keywordcomponent. For example, the terminal may extend the keyword “notebook”to keyword components “note” and “book.” The terminal may then calculatea matching degree between each label and each of the at least oneextended word respectively, and calculate the matching degree betweeneach label recorded in the relationship and the keyword, according tothe matching degree between each label and each of the at least oneextended word.

It is to be noted that the matching degree between each label and thekeyword may equal to a sum of the matching degree between the label andeach of the at least one extended word, or an average of the matchingdegree between the label and each of the at least one extended word, ora maximum value of the matching degree between the label and each of theat least one extended word.

The matching degree between each label and the keyword may be determinedby other ways, which shall not limited in the embodiments. For example,the terminal may calculate a matching degree between any label and eachkeyword component while calculating the matching degree between anylabel and each keyword, and calculate several matching degrees withdifferent weights to obtain the matching degree between the keyword andeach label.

Sometimes, the matching may be determined when the keyword partiallymatches the label. One example illustrated above is that the labelcontains one word included in the keyword. However, the matching may bedetermined when the keyword partially matches the label in othermanners. For example, a matching may be determined when the labelcontains at least three (3) consecutive letters in the keyword. Oralternatively, a matching may be determined when the keyword contains atleast three (3) consecutive letters in the label. Other partial matchesmay also be developed which is not elaborated herewith and should beconsidered as part of this disclosure.

In step 205, at least one matching keyframe is displayed.

After determining the at least one matching keyframe according thekeyword inputted by the user, the terminal may sort the at least onematching keyframe based on a predetermined criterion, and then displaythe at least one matching keyframe according to the sorted order, forease of watching the keyframe by the user.

For example, the terminal may sort the at least one matching keyframebased on a sequential order of the playing progress of the at least onematching keyframe in the target video, or sort the at least one matchingkeyframe based on a descending order of the matching degree of thekeyword. The terminal may also sort the at least one matching keyframebased on other criterions, which are not limited in the embodiments.

The terminal may display the at least one matching keyframe in differentpatterns. For example, the terminal may display the at least onematching keyframe in a tiled pattern or an overlapped-combinationpattern. Referring to FIG. 6, the terminal may tile each matchingkeyframe 601 in the playing interface as shown in FIG. 4, such that theuser may directly watch each matching keyframe. Referring to FIG. 7, theterminal may combine the at least one matching keyframe in an overlappedway, and display the combined at least one matching keyframe in theplaying interface as shown in FIG. 4, such that the user may watch anentire matching keyframe and other matching keyframes where most areasare sheltered. The user may watch each matching keyframe by dragging theone or more matching keyframes he or she would like.

In step 206, when a selection operation on a keyframe of the at leastone matching keyframe is detected, displaying progress of the targetvideo is adjusted to target displaying progress.

The target displaying progress is displaying progress corresponding tothe keyframe as indicated by the selection operation.

The user may select a matching keyframe from the at least one matchingkeyframe with a selection operation, after seeing the at least onematching keyframe displayed on the terminal. When the terminal detectsthe selection operation on a certain keyframe, it may adjust thedisplaying progress of the target video to the target displayingprogress, i.e., displaying progress corresponding to the selectedmatching keyframe.

It is to be noted that the terminal may adjust the displaying progressof the target video to the timing when a shot to which a certainkeyframe belongs begins, such that the user may watch the video from thebeginning part of the shot and thus may watch complete content of theshot.

For example, in the case that the timing corresponding to displayingprogress of a certain keyframe is 24′ 07″, and time slot for playing ashot to which the keyframe belongs is 23′ 36″-24′ 19″, the terminal mayadjust the displaying progress to be 23′ 36″.

Additionally, the order of the steps of the method for adjusting videoplaying progress provided by embodiments of the disclosure may beadjusted appropriately, and steps may be added or deleted based on thecircumstances. Any changes to the method as may be easily conceived bythose skilled in the art within the technical scope disclosed by theinvention should be considered as covered by the protection scope of theinvention, and therefore are not detailed necessarily.

In conclusion, the method for adjusting video playing progress providedby embodiments of the present disclosure includes following operations:obtaining, by a terminal, a keyword inputted by a user; determining atleast one matching keyframe corresponding to the keyword in a targetvideo; displaying the at least one matching keyframe; and adjustingdisplaying progress of the target video to target displaying progress,when a selection operation on a keyframe of the at least one matchingkeyframe is detected.

The method for adjusting video playing progress reduces time foradjusting video playing progress and improves efficiency of theadjustment of the playing progress, by determining according to akeyword inputted by a user one or more matching keyframes correspondingto the keyword and then adjusting the video playing progress accordingto a selection of different matching keyframes, a need that a user canonly determine playing progress corresponding to a particular section ofthe video after browsing a target video is eliminated.

Device embodiments of the disclosure are described below, which may beused to perform method embodiments of the disclosure. Please refer tothe method embodiments of the disclosure for details which are notdisclosed in the device embodiments of the disclosure.

FIG. 8 is a block diagram of a device for adjusting video playingprogress illustrated according to an exemplary embodiment. As shown inFIG. 8, the device for adjusting video playing progress 800 may be usedin a terminal. The device for adjusting video playing progress 800 mayinclude an acquiring module 801, a first determining module 802, adisplay module 803 and an adjusting module 804.

The acquiring module 801 is configured to acquire a keyword inputted bya user.

The first determining module 802 is configured to determine at least onematching keyframe corresponding to the keyword in a target video whichincludes at least one keyframe.

The display module 803 is configured to display the at least onematching keyframe.

The adjusting module 804 is configured to adjust displaying progress ofthe target video to target displaying progress when a selectionoperation on a keyframe of the at least one matching keyframe isdetected. The target displaying progress is displaying progresscorresponding to the keyframe as indicated by the selection operation.

In conclusion, the device for adjusting video playing progress providedby embodiments of the present disclosure may be configured to performfollowing operations: obtaining, by a terminal, a keyword inputted by auser; determining at least one matching keyframe corresponding to thekeyword in a target video; displaying the at least one matchingkeyframe; and adjusting displaying progress of the target video totarget displaying progress, when a selection operation on a keyframe ofthe at least one matching keyframe is detected.

The device for adjusting video playing progress reduces time foradjusting video playing progress and improves efficiency of theadjustment of the playing progress, by determining according to akeyword inputted by a user one or more matching keyframes correspondingto the keyword and then adjusting the video playing progress accordingto a selection of different matching keyframes, a need that a user canonly determine playing progress corresponding to a particular section ofthe video after browsing a target video is eliminated.

In an example, the first determining module 802 is further configured toinquire a relationship between a keyframe and a preset label accordingto the keyword, to obtain at least one target label matching thekeyword, wherein the relationship records each keyframe included in thetarget video and at least one label corresponding to each keyframe, andthe label of each keyframe indicates content of the keyframe; anddetermine the at least one keyframe corresponding to the at least onetarget label in the relationship as the at least one matching keyframecorresponding to the keyword.

The first determining module 802 may further be configured to calculatea matching degree between each label recorded in the relationship andthe keyword; and determine the label having a matching degree greaterthan a preset matching degree threshold as the target label matching thekeyword.

The keyword may include at least one keyword components. The firstdetermining module 802 may further be configured to: extend each keywordcomponent of the keyword to obtain at least one extended word for eachkeyword component; calculate a matching degree between each label andeach of the at least one extended word respectively; and calculate thematching degree between each label recorded in the relationship and thekeyword, according to the matching degree between each label and each ofthe at least one extended word.

The matching degree between each label and the keyword may be equal to asum of the matching degree between the label and each of the at leastone extended word. The matching degree between each label and thekeyword may be equal to an average of the matching degree between thelabel and each of the at least one extended word. Alternative, thematching degree between each label and the keyword may be equal to amaximum value of the matching degree between the label and each of theat least one extended word.

In another example, the display module 803 is further configured to sortthe at least one matching keyframe based on a sequential order of theplaying progress of the at least one matching keyframe in the targetvideo, and display sequentially the at least one matching keyframeaccording to the sorted order; or sort the at least one matchingkeyframe based on a descending order of the matching degree of thekeyword, and display sequentially the at least one matching keyframeaccording to the sorted order.

The first determining module 802 may further be configured to match thekeyword with each label recorded in the relationship respectively;determine the label having a preset association with the keyword as thetarget label matching the keyword. The preset association may include:the label includes at least one character, one word or any part of thekeyword, or the keyword includes at least one character, one word or anypart of the label, or the label is the same as the keyword.

In an embodiment, referring to FIG. 9, the device may further include anextracting module 805, a second determining module 806 and anestablishing module 807.

The extracting module 805 may be configured to extract at least onekeyframe from the target video.

The second determining module 806 may be configured to determine atleast one label for each of the at least one keyframe.

The establishing module 807 may be configured to establish arelationship between each keyframe and the at least one label for thekeyframe according to the at least one keyframe and the at least onelabel for each keyframe.

In an example, the second determining module 806 may further beconfigured to detect whether each of the at least one keyframe includescontent within a set of target content including at least one of objectcontent, character content, word content and scene content. The seconddetermining module 806 may further be configured to generate a labelindicating certain content within the set of target content for akeyframe when the keyframe includes the certain content.

Regarding the device provided in the above embodiments, particular waysfor each of the modules of the device to perform a correspondingoperation are described in details in the corresponding methodembodiments, which will not be detailed herein.

A device for adjusting video playing progress is provided by anexemplary embodiment of the disclosure, which may implement the methodfor adjusting video playing progress provided by the disclosure. Thedevice for adjusting video playing progress may include: a processor;and a memory for storing instructions executable by the processor. Theprocessor is configured to: acquire a keyword inputted by a user;determine at least one matching keyframe corresponding to the keyword ina target video which includes at least one keyframe; display the atleast one matching keyframe; and adjust displaying progress of thetarget video to target displaying progress, when a selection operationon a keyframe of the at least one matching keyframe is detected. Thetarget displaying progress is displaying progress corresponding to thekeyframe as indicated by the selection operation.

According to one aspect of embodiments of the disclosure, a device foradjusting video playing progress may be provided. The device mayinclude: an acquiring module, configured to acquire a keyword inputtedby a user; a first determining module, configured to determine at leastone matching keyframe corresponding to the keyword in a target videowhich includes at least one keyframe; a display module, configured todisplay the at least one matching keyframe; and an adjusting module,configured to adjust displaying progress of the target video to targetdisplaying progress when a selection operation on a keyframe of the atleast one matching keyframe is detected, wherein the target displayingprogress is displaying progress corresponding to the keyframe asindicated by the selection operation.

According to another aspect of embodiments of the disclosure, anon-transitory computer-readable storage medium having instructionsstored thereon is provided. The instructions for adjusting video playingprogress, when executed by a processor, may cause the processor to:acquire a keyword inputted by a user; determine at least one matchingkeyframe corresponding to the keyword in a target video which includesat least one keyframe; display the at least one matching keyframe; andadjust displaying progress of the target video to target displayingprogress when a selection operation on a keyframe of the at least onematching keyframe is detected, wherein the target displaying progresscorresponds to the keyframe as indicated by the selection operation.

FIG. 10 is a block diagram of a device for adjusting video playingprogress illustrated according to an exemplary embodiment. For example,the device 1000 may be a mobile phone, a computer, a digital broadcastterminal, a messaging device, a gaming console, a tablet, a medicaldevice, an exercise equipment, a personal digital assistant, and thelike.

Referring to FIG. 10, the device 1000 may include one or more of thefollowing components: a processing component 1002, a memory 1004, apower component 1006, a multimedia component 1008, an audio component1010, an input/output (I/O) interface 1012, a sensor component 1014, anda communication component 1016.

The processing component 1002 typically controls overall operations ofthe device 1000, such as the operations associated with display,telephone calls, data communications, camera operations, and recordingoperations. The processing component 1002 may include one or moreprocessors 1018 to execute instructions to perform all or part of thesteps in the above described methods. Moreover, the processing component1002 may include one or more modules which facilitate the interactionbetween the processing component 1002 and other components. Forinstance, the processing component 1002 may include a multimedia moduleto facilitate the interaction between the multimedia component 1008 andthe processing component 1002.

The memory 1004 may be configured to store various types of data tosupport the operation of the device 1000. Examples of such data includeinstructions for any applications or methods operated on the device1000, contact data, phonebook data, messages, pictures, video, etc. Thememory 1004 may be implemented using any type of volatile ornon-volatile memory devices, or a combination thereof, such as a staticrandom access memory (SRAM), an electrically erasable programmableread-only memory (EEPROM), an erasable programmable read-only memory(EPROM), a programmable read-only memory (PROM), a read-only memory(ROM), a magnetic memory, a flash memory, a magnetic or optical disk.

The power component 1006 provides power to various components of thedevice 1000. The power component 1006 may include a power managementsystem, one or more power sources, and any other components associatedwith the generation, management, and distribution of power for thedevice 1000.

The multimedia component 1008 may include a screen providing an outputinterface between the device 1000 and the user. In some embodiments, thescreen may include a liquid crystal display (LCD) and a touch panel(TP). If the screen includes the touch panel, the screen may beimplemented as a touch screen to receive input signals from the user.The touch panel includes one or more touch sensors to sense touches,swipes, and gestures on the touch panel. The touch sensors may not onlysense a boundary of a touch or swipe action, but also sense a period oftime and a pressure associated with the touch or swipe action. In someembodiments, the multimedia component 1008 includes a front cameraand/or a rear camera. The front camera and the rear camera may receivean external multimedia datum while the device 1000 is in an operationmode, such as a photographing mode or a video mode. Each of the frontcamera and the rear camera may be a fixed optical lens system or haveoptical focusing and zooming capability.

The audio component 1010 may be configured to output and/or input audiosignals. For example, the audio component 1010 includes a microphone(MIC) configured to receive an external audio signal when the device1000 is in an operation mode, such as a call mode, a recording mode, anda voice recognition mode. The received audio signal may be furtherstored in the memory 1004 or transmitted via the communication component1016. In some embodiments, the audio component 1010 further includes aspeaker to output audio signals.

The I/O interface 1012 may provide an interface between the processingcomponent 1002 and peripheral interface modules, the peripheralinterface modules being, for example, a keyboard, a click wheel,buttons, and the like. The buttons may include, but are not limited to,a home button, a volume button, a starting button, and a locking button.

The sensor component 1014 may include one or more sensors to providestatus assessments of various aspects of the device 1000. For instance,the sensor component 1014 may detect an open/closed status of the device1000, relative positioning of components (e.g., the display and thekeypad of the device 1000), a change in position of the device 1000 or acomponent of the device 1000, a presence or absence of user contact withthe device 1000, an orientation or an acceleration/deceleration of thedevice 1000, and a change in temperature of the device 1000. The sensorcomponent 1014 may include a proximity sensor configured to detect thepresence of a nearby object without any physical contact. The sensorcomponent 1014 may also include a light sensor, such as a CMOS or CCDimage sensor, for use in imaging applications. In some embodiments, thesensor component 1014 may also include an accelerometer sensor, agyroscope sensor, a magnetic sensor, a pressure sensor, or a temperaturesensor.

The communication component 1016 may be configured to facilitatecommunication, wired or wirelessly, between the device 1000 and otherdevices. The device 1000 can access a wireless network based on acommunication standard, such as WiFi, 2G or 3G; or a combinationthereof. In an exemplary embodiment, the communication component 1016receives a broadcast signal or broadcast associated information from anexternal broadcast management system via a broadcast channel. In anexemplary embodiment, the communication component 1016 further includesa near field communication (NFC) module to facilitate short-rangecommunications. For example, the NFC module may be implemented based ona radio frequency identification (RFID) technology, an infrared dataassociation (IrDA) technology, an ultra-wideband (UWB) technology, aBluetooth (BT) technology, and other technologies.

In exemplary embodiments, the device 1000 may be implemented with one ormore application specific integrated circuits (ASICs), digital signalprocessors (DSPs), digital signal processing devices (DSPDs),programmable logic devices (PLDs), field programmable gate arrays(FPGAs), controllers, micro-controllers, microprocessors, or otherelectronic components, for performing the above described methods foradjusting video playing progress.

In exemplary embodiments, there is also provided a non-transitorycomputer-readable storage medium including instructions, such asincluded in the memory 1004, executable by the processor 1018 in thedevice 1000, for performing the above-described methods for adjustingvideo playing progress. For example, the non-transitorycomputer-readable storage medium may be a ROM, a random access memory(RAM), a CD-ROM, a magnetic tape, a floppy disc, an optical data storagedevice, and the like.

The present disclosure may include dedicated hardware implementationssuch as application specific integrated circuits, programmable logicarrays and other hardware devices. The hardware implementations can beconstructed to implement one or more of the methods described herein.Applications that may include the apparatus and systems of variousexamples can broadly include a variety of electronic and computingsystems. One or more examples described herein may implement functionsusing two or more specific interconnected hardware modules or deviceswith related control and data signals that can be communicated betweenand through the modules, or as portions of an application-specificintegrated circuit. Accordingly, the computing system disclosed mayencompass software, firmware, and hardware implementations. The terms“module,” “sub-module,” “unit,” or “sub-unit” may include memory(shared, dedicated, or group) that stores code or instructions that canbe executed by one or more processors.

Other embodiments of the invention will be apparent to those skilled inthe art from consideration of the specification and practice of thedisclosures herein. This application is intended to cover anyvariations, uses, or adaptations of the disclosure following the generalprinciples thereof and including such departures from the presentdisclosure as come within known or customary practice in the art. It isintended that the specification and examples be considered as exemplaryonly, with a true scope and spirit of the invention being indicated bythe following claims.

It will be appreciated that the disclosure is not limited to the exactconstruction that has been described above and illustrated in theaccompanying drawings, and that various modifications and changes can bemade without departing from the scope thereof. It is intended that thescope of the invention only be limited by the appended claims.

What is claimed is:
 1. A method for adjusting video playing progress,comprising: acquiring a keyword inputted by a user; determining at leastone matching keyframe corresponding to the keyword in a target videowhich includes at least one keyframe; displaying the at least onematching keyframe; adjusting displaying progress of the target video totarget displaying progress when a selection operation on a keyframe ofthe at least one matching keyframe is detected, wherein the targetdisplaying progress is displaying progress corresponding to the keyframeas indicated by the selection operation; extracting the at least onekeyframe from the target video; determining at least one label for eachof the at least one keyframe; establishing a correspondence relationbetween each keyframe and the at least one label for the keyframeaccording to the at least one keyframe and the at least one label foreach keyframe; and determining occurrences of each label for the atleast one keyframe and deleting a label when the occurrences are greaterthan a predetermined label number threshold.
 2. The method of claim 1,wherein the determining at least one matching keyframe corresponding tothe keyword in the target video comprises: inquiring a correspondencerelation between a keyframe and a preset label according to the keyword,to obtain at least one target label matching the keyword, wherein thecorrespondence relation records each keyframe included in the targetvideo and at least one label corresponding to each keyframe, and thelabel of each keyframe indicates content of the keyframe; anddetermining the at least one keyframe corresponding to the at least onetarget label in the correspondence relation as the at least one matchingkeyframe corresponding to the keyword.
 3. The method of claim 2, whereinthe inquiring the correspondence relation between the keyframe and thepreset label according to the keyword, to obtain at least one targetlabel matching the keyword comprises: calculating a matching degreebetween each label recorded in the correspondence relation and thekeyword; and determining the label having a matching degree greater thana preset matching degree threshold as the target label matching thekeyword.
 4. The method of claim 3, wherein the keyword includes at leastone keyword component; the calculating the matching degree between eachlabel recorded in the correspondence relation and the keyword comprises:extending each keyword component of the keyword to obtain at least oneextended word for the keyword component; calculating a matching degreebetween each label and each of the at least one extended wordrespectively; and calculating the matching degree between each labelrecorded in the correspondence relation and the keyword, according tothe matching degree between each label and each of the at least oneextended word; wherein the matching degree between each label and thekeyword is equal to a sum of the matching degree between the label andeach of the at least one extended word; or the matching degree betweeneach label and the keyword is equal to an average of the matching degreebetween the label and each of the at least one extended word; or thematching degree between each label and the keyword is equal to a maximumvalue of the matching degree between the label and each of the at leastone extended word.
 5. The method of claim 2, wherein the displaying theat least one matching keyframe comprises: sorting the at least onematching keyframe based on a sequential order of the playing progress ofthe at least one matching keyframe in the target video, and displayingsequentially the at least one matching keyframe according to the sortedorder; or sorting the at least one matching keyframe based on adescending order of the matching degree of the keyword, and displayingsequentially the at least one matching keyframe according to the sortedorder.
 6. The method of claim 2, wherein the inquiring thecorrespondence relation between the keyframe and the preset labelaccording to the keyword, to obtain at least one target label matchingthe keyword comprises: matching the keyword with each label recorded inthe correspondence relation respectively; determining the label having apreset association with the keyword as the target label matching thekeyword, wherein the preset association includes that: the labelincludes at least one character of the keyword, or the keyword includesat least one character of the label, or the label is the same as thekeyword.
 7. The method of claim 1, wherein the determining at least onelabel for each of the at least one keyframe comprises: detecting whethereach of the at least one keyframe includes content within a set oftarget content, wherein the set of target content includes at least oneof object content, character content, word content and scene content;and generating a label indicating certain content within the set oftarget content for a keyframe when the keyframe includes the certaincontent.
 8. A device for adjusting video playing progress, comprising: aprocessor; and a memory for storing instructions executable by theprocessor; wherein the processor is configured to: acquire a keywordinputted by a user; determine at least one matching keyframecorresponding to the keyword in a target video which includes at leastone keyframe; display the at least one matching keyframe; adjustdisplaying progress of the target video to target displaying progresswhen a selection operation on a keyframe of the at least one matchingkeyframe is detected, wherein the target displaying progress isdisplaying progress corresponding to the keyframe as indicated by theselection operation; extract the at least one keyframe from the targetvideo; determine at least one label for each of the at least onekeyframe; establish a correspondence relation between each keyframe andthe at least one label for the keyframe according to the at least onekeyframe and the at least one label for each keyframe; and determineoccurrences of each label for the at least one keyframe and delete alabel when the occurrences are greater than a predetermined label numberthreshold.
 9. The device of claim 8, wherein the processor is furtherconfigured to: inquire a correspondence relation between a keyframe anda preset label according to the keyword, to obtain at least one targetlabel matching the keyword, wherein the correspondence relation recordseach keyframe included in the target video and at least one labelcorresponding to each keyframe, and the label of each keyframe indicatescontent of the keyframe; and determine the at least one keyframecorresponding to the at least one target label in the correspondencerelation as the at least one matching keyframe corresponding to thekeyword.
 10. The device of claim 9, wherein the processor is furtherconfigured to: calculate a matching degree between each label recordedin the correspondence relation and the keyword; and determine the labelhaving a matching degree greater than a preset matching degree thresholdas the target label matching the keyword.
 11. The device of claim 10,wherein the keyword includes at least one keyword components; theprocessor is further configured to: extend each keyword component of thekeyword to obtain at least one extended word for each keyword component;calculate a matching degree between each label and each of the at leastone extended word respectively; and calculate the matching degreebetween each label recorded in the correspondence relation and thekeyword, according to the matching degree between each label and each ofthe at least one extended word; wherein the matching degree between eachlabel and the keyword is equal to a sum of the matching degree betweenthe label and each of the at least one extended word; or the matchingdegree between each label and the keyword is equal to an average of thematching degree between the label and each of the at least one extendedword; or the matching degree between each label and the keyword is equalto a maximum value of the matching degree between the label and each ofthe at least one extended word.
 12. The device of claim 9, wherein theprocessor is further configured to: sort the at least one matchingkeyframe based on a sequential order of the playing progress of the atleast one matching keyframe in the target video, and displaysequentially the at least one matching keyframe according to the sortedorder; or sort the at least one matching keyframe based on a descendingorder of the matching degree of the keyword, and display sequentiallythe at least one matching keyframe according to the sorted order. 13.The device of claim 9, wherein the processor is further configured to:match the keyword with teach label recorded in the correspondencerelation respectively; determine the label having a preset associationwith the keyword as the target label matching the keyword, wherein thepreset association includes that: the label includes at least onecharacter of the keyword, or the keyword includes at least one characterof the label, or the label is the same as the keyword.
 14. The device ofclaim 8, wherein the processor is further configured to: detect whethereach of the at least one keyframe includes content within a set oftarget content, wherein the set of target content includes at least oneof object content, character content, word content and scene content;and generate a label indicating certain content within the set of targetcontent for a keyframe when the keyframe includes the certain content.15. A non-transitory computer-readable storage medium havinginstructions stored thereon, the instructions, when executed by aprocessor, cause the processor to perform a method for adjusting videoplaying progress, the method comprising: acquiring a keyword inputted bya user; determining at least one matching keyframe corresponding to thekeyword in a target video which includes at least one keyframe;displaying the at least one matching keyframe; adjusting displayingprogress of the target video to target displaying progress, when aselection operation on a keyframe of the at least one matching keyframeis detected, wherein the target displaying progress is displayingprogress corresponding to the keyframe as indicated by the selectionoperation; extracting the at least one keyframe from the target video;determining at least one label for each of the at least one keyframe;establishing a correspondence relation between each keyframe and the atleast one label for the keyframe according to the at least one keyframeand the at least one label for each keyframe; and determiningoccurrences of each label for the at least one keyframe and deleting alabel when the occurrences are greater than a predetermined label numberthreshold.